{if $admin_level eq 0}
    <a href="javascript:;" class="navItem" id="navitem2" rel='subnav2'>
        <b></b><i class='label'>报表中心</i>
    </a>
    <div class='subnavs clearfix' id='subnav2'>
        <a class='cap-nav-item' href='javascript:;' data-page="overview" data-nav="home">微店总览</a>
        <a class='cap-nav-item' href='javascript:;' data-page="sale_trend" data-nav="home">销售分析</a>
        <a class='cap-nav-item' href='javascript:;' data-page="user_ans" data-nav="home">用户分析</a>    
{*        <a class='cap-nav-item' href='javascript:;' data-page="area_ans" data-nav="home">地区分析</a>*}
        <a class='cap-nav-item' href='javascript:;' data-page="com_sale" data-nav="home">代理分析</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem4" rel='subnav4'>
        <b></b><i class='label'>订单管理</i>
    </a>
    <div class='subnavs clearfix' id='subnav4'>
        <a id='__odpaylist' class='cap-nav-item' href='javascript:;' data-page="orders_toexpress" data-nav="orders">未发货订单 <b class="icount">(0)</b></a>
        <a id='__oddevlist' class='cap-nav-item' href='javascript:;' data-page="orders_expressing" data-nav="orders">已发货订单 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="orders_unpay" data-nav="orders">未支付订单 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="orders_refunded" data-nav="orders">已退款订单 <b class="icount">(0)</b></a>
        <a id='__odcanlist' class='cap-nav-item' href='javascript:;' data-page="orders_toreturn" data-nav="orders">退款申请 <b class="icount">(0)</b></a>
        <a id='__odalllist' class='cap-nav-item' href='javascript:;' data-page="orders_all" data-nav="orders">全部订单 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="orders_history_address" data-nav="orders">收货地址</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem5" rel='subnav5'>
        <b></b><i class='label'>商品管理</i>
    </a>
    <div class='subnavs clearfix' id='subnav5'>        
        <a id='__pdlist' class='cap-nav-item' href='javascript:;' data-page="list_products" data-nav="products">商品管理 <b class="icount">(0)</b></a>
        <a id='__catlist' class='cap-nav-item' href='javascript:;' data-page="alter_products_category" data-nav="products">分类管理 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="alter_product_specs" data-nav="products">规格管理 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="alter_product_serials" data-nav="products">系列管理 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="alter_product_brand" data-nav="products">品牌管理 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="deleted_products" data-nav="products">回收站 <b class="icount">(0)</b></a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem6" rel='subnav6'>
        <b></b><i class='label'>消息群发</i>
    </a>
    <div class='subnavs clearfix' id='subnav6'>
        <!--<a id='__usmessage' class='cap-nav-item' href='javascript:;' data-page="customer_messages">会员消息</a>-->
        <a class='cap-nav-item' href='javascript:;' data-page="gmess_list" data-nav="gmess">素材列表</a>
        <a class='cap-nav-item' href='javascript:;' data-page="gmess_send" data-nav="gmess">消息群发</a>
        <!--<a class='cap-nav-item' href='javascript:;' data-page="email_send" data-nav="gmess">邮件群发</a>-->
        <a class='cap-nav-item' href='javascript:;' data-page="gmess_sent" data-nav="gmess">群发历史</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem9" rel='subnav9'>
        <b></b><i class='label'>会员管理</i>
    </a>
    <div class='subnavs clearfix' id='subnav9'>
        <a id='__uslist' class='cap-nav-item' href='javascript:;' data-page="list_customers" data-nav="customers">会员列表</a>
        <!--        <a class='cap-nav-item' href='javascript:;' data-page="list_customers" data-nav="customers">分组管理</a>
                <a class='cap-nav-item' href='javascript:;' data-page="list_customers" data-nav="customers">粉丝列表</a>-->
    </div>
    <a href="javascript:;" class="navItem" id="navitem8" rel='subnav8'>
        <b></b><i class='label'>代理合作</i>
    </a>
    <div class='subnavs clearfix' id='subnav8'>
        <a id='__comlist' class='cap-nav-item' href='javascript:;' data-page="list_companys" data-nav="company">全部代理 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="company_requests" data-nav="company">代理申请 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="company_withdrawal" data-nav="company">代理结算 <b class="icount">(0)</b></a>
        <a class='cap-nav-item' href='javascript:;' data-page="company_bills" data-nav="company">结算历史</a>
        <a class='cap-nav-item' href='javascript:;' data-page="corporation" data-nav="company">合作伙伴</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem7" rel='subnav7'>
        <b></b><i class='label'>微店设置</i>
    </a>
    <div class='subnavs clearfix' id='subnav7'>
        <a class='cap-nav-item' href='javascript:;' data-page="settings_menu" data-nav="settings">自定义菜单</a>
        <a class='cap-nav-item' href='javascript:;' data-page="settings_autoresponse" data-nav="setttings">自动回复</a>
        <a class='cap-nav-item' href='javascript:;' data-page="settings_banners" data-nav="settings">首页滚动图</a>
        {*        <a class='cap-nav-item' href='javascript:;' data-page="settings_ads" data-nav="settings">首页广告图</a>*}
    </div>
{/if}
{if $admin_level eq 1}
    <a href="javascript:;" class="navItem" id="navitem12" rel='subnav12'>
        <b></b><i class='label'>推广收益</i>
    </a>    
    <div class='subnavs clearfix' id='subnav12'>
        <a class='cap-nav-item' href='javascript:;' data-page="list_company_income" data-nav="company_home_income">推广收益</a>
        <a class='cap-nav-item' href='javascript:;' data-page="company_bills" data-nav="company_home_income">结算历史</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem10" rel='subnav10'>
        <b></b><i class='label'>商品推广</i>
    </a>
    <div class='subnavs clearfix' id='subnav10'>
        <a class='cap-nav-item' href='javascript:;' data-page="list_product_toshare" data-nav="company_home_products">商品列表</a>
        <a class='cap-nav-item' href='javascript:;' data-page="list_product_myshare" data-nav="company_home_products">我的推广</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem11" rel='subnav11'>
        <b></b><i class='label'>名下会员</i>
    </a>
    <div class='subnavs clearfix' id='subnav11'>
        <a class='cap-nav-item' href='javascript:;' data-page="list_customers" data-nav="customers">会员列表</a>
    </div>
    <a href="javascript:;" class="navItem" id="navitem13" rel='subnav13'>
        <b></b><i class='label'>我的二维码</i>
    </a>
    <div class='subnavs clearfix' id='subnav13'>
        <a class='cap-nav-item' href='javascript:;' data-page="company_my_info" data-nav="customers">二维码</a>
    </div>
{/if}
{*<div id="copyrights">2014-2015 iWshop<br/>All rights reserved.</div>*}